Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODFrame


SetContainingFrame

The SetContainingFrame method assigns the specified frame as the containing frame of this frame.

void SetContainingFrame (in ODFrame frame);
frame
A reference to the frame to assign as this frame's containing frame.
DISCUSSION
You should remove any existing facets of this frame before calling this method. It is necessary to call this method only when a frame is moved, because a frame is always created with the correct containing frame.

EXCEPTIONS
kODErrFrameHasFacets
The specified frame has attached facets.
SEE ALSO
The ODFrame::AcquireContainingFrame method (page 301).
"Handling Cut Data" on page 334 in OpenDoc Programmer's Guide.
"Incorporating Intrisic Content" on page 344 in OpenDoc Programmer's Guide.
"Embedding a Single Part" on page 346 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help